package com.qst.medical.mapper;

import com.qst.medical.domain.MedicalDrug;

import java.util.List;
import java.util.Map;

import com.qst.medical.model.MedicalDrugQC;
import com.qst.medical.model.SSDto;
import org.apache.ibatis.annotations.Param;

public interface MedicalDrugMapper {
    int deleteByPrimaryKey(Integer mdId);

    int insert(MedicalDrug record);

    int insertSelective(MedicalDrug record);

    MedicalDrug selectByPrimaryKey(Integer mdId);

    int updateByPrimaryKeySelective(MedicalDrug record);

    int updateByPrimaryKey(MedicalDrug record);

    int updateBatch(List<MedicalDrug> list);

    int batchInsert(@Param("list") List<MedicalDrug> list);

    List<MedicalDrug> dynamicQuery(@Param("qc") MedicalDrugQC medicalDrugQC, @Param("n") String name);

    List<SSDto> ss();
}